package com.kgc.storeprovider.dao;

import com.kgc.store.pojo.ProCombine;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ProCombineMapper {
    public ProCombine getByCode(String code);
    public List<ProCombine> getAll(Map<String,Object> map);
    public int getCount(Map<String,Object> map);
    public int add(ProCombine proCombine);
    public int update(ProCombine proCombine);
    public int del(Map<String,Object> map);
    public int changeStatus(@Param("code") String code, @Param("status")String status);
    public int addDetail(Map<String,Object> map);
    public int delDetail(String code);
    public int getSid(Map<String,Object> map);
    public int deleteDetail(Map<String,Object> map);
}
